from django.db import models
from django.contrib.auth.models import AbstractUser


class User(AbstractUser):
    telephone = models.CharField(max_length=11)  # 还应该将此字段设为唯一，不然相同手机号也可以注册
    icon = models.ImageField(upload_to='icon', default='icon/default.png')
